home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap26 / dun26_11.txt < prev    next >
Encoding:
Text File  |  1997-12-18  |  843 b   |  23 lines

  1. function displayPage() {
  2.     pageObj.left = 10;
  3.     pageObj.top = 10;
  4. if(nav == "ns4") {
  5.         document.pageLyr.document.open();
  6.         document.pageLyr.document.write(parent.SNEAK.message);
  7.         document.pageLyr.document.close();
  8.         pageObj.clip.top = 0;
  9.         pageObj.clip.right = (screen_width-205);
  10.         pageObj.clip.bottom = (screen_height-90);
  11.         pageObj.clip.left = 0;
  12.     } else {
  13.         var cTop = 0;
  14.         var cRight = screen_width-205;
  15.         var cBottom = screen_height-90;
  16.         var cLeft = 0;
  17.         document.all.pageLyr.innerHTML = parent.SNEAK.message;
  18.         pageObj.clip = "rect(" + cTop + " " + cRight + " " + cBottom + " " + cLeft + ")";
  19.     }
  20.     titleImg.title_img.src = parent.SNEAK.title;
  21.     submenuImg.submenu_img.src = parent.SNEAK.submenu;
  22. }
  23.